Skip to content

Conversation

davidholyko
Copy link

@davidholyko davidholyko commented Mar 5, 2025

Fixes #315

@@ -15,9 +15,20 @@ const SIMMERJS = fs.readFileSync(require.resolve('simmerjs/dist/simmer.js')).toS
let _config = null;

function injectNWTL(browser) {
browser.execute(DOM_TESTING_LIBRARY_UMD);
const shouldInject = browser.execute(function () {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Related to this issue

#315

@davidholyko davidholyko changed the title fix: conditionally inject NWTL and simmer.js fix: [#315] conditionally inject NWTL and simmer.js Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nightwatch Testing Library injects testing library and simmer on each call of getByRole, getByText etc
1 participant